package game.mechanics;
import game.referenceValues.*;

import java.util.ArrayList;

import game.enums.*;
import game.units.Attribute;
public class Equip extends Item {
	
	private ArrayList<EquipSlots> slot = new ArrayList<EquipSlots>();
	private ArrayList<Attribute> bonuses;
	private int weight;
	private ArrayList<Feat> requirements;
	private int armorClass;
	private int maxDexBonus;
	
	public Equip(String name, String description, int quantity, ArrayList<EquipSlots> slot, 
			ArrayList<Attribute> bonuses, int weight, ArrayList<Feat> requirements, int armorClass, int maxDexBonus) {
		super(name, description, quantity);
		this.setBonuses(bonuses);
		this.slot = slot;
		this.weight = weight;
		this.setRequirements(requirements);
		this.armorClass = armorClass;
		this.maxDexBonus = maxDexBonus;
	}
	
	public Equip()
	{
		
	}

	public ArrayList<Attribute> getBonuses() {
		return bonuses;
	}

	public void setBonuses(ArrayList<Attribute> bonuses) {
		this.bonuses = bonuses;
	}

	public ArrayList<EquipSlots> getSlots() {
		return slot;
	}

	public void setSlot(EquipSlots slot) {
		this.slot.add(slot);
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public ArrayList<Feat> getRequirements() {
		return requirements;
	}

	public void setRequirements(ArrayList<Feat> requirements) {
		this.requirements = requirements;
	}

	public int getArmorClass() {
		return armorClass;
	}

	public void setArmorClass(int armorClass) {
		this.armorClass = armorClass;
	}
	
	public void getEquipByID()
	{
		
	}

	public int getMaxDexBonus() {
		return maxDexBonus;
	}

	public void setMaxDexBonus(int maxDexBonus) {
		this.maxDexBonus = maxDexBonus;
	}
		
	
	

}
